package com.fit.networkShop.beans;

import com.fit.networkShop.interfaces.Product;
import com.fit.networkShop.interfaces.Purchase;
import com.fit.networkShop.interfaces.PurchaseItem;


public class PurchaseItemBean implements PurchaseItem {
	private String id;
	private double totalPrice;
	private int quantity;
	private boolean canceled;
	private Product product;
	private Purchase purchase;
	private int number;
	

	public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
	public String getId() {
		return this.id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public double getTotalPrice() {
		return this.totalPrice;
	}
	public void setTotalPrice(double totalPrice) {
		this.totalPrice = totalPrice;
	}
	
	public int getQuantity() {
		return this.quantity;
	}
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}

	public boolean isCanceled() {
		return this.canceled;
	}
	public void setCanceled(boolean canceled) {
		this.canceled = canceled;
	}

	public Product getProduct() {
		return this.product;
	}
	public void setProduct(Product product) {
		this.product = product;
	}

	public Purchase getPurchase() {
		return this.purchase;
	}
	public void setPurchase(Purchase purchase) {
		this.purchase = purchase;
	}
}
